-- GENERATED SPELL FOR [Fathom Lurker] --


function spell0_22119(pUnit, Event) --@Knock Away,n/a--
pUnit:FullCastSpellOnTarget(25778,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_22119', 583, 1)
end

function Sorts_22119(pUnit, Event)
local choix_sorts_22119 = math.random(0, 0)
if choix_sorts_22119 == 0 then
pUnit:RegisterEvent('spell0_22119', 1, 1)
end
end

function mob22119_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_22119', math.random(1500, 3000), 1)
end

function mob22119_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22119_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob22119_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(22119, 1, 'mob22119_Action')
RegisterUnitEvent(22119, 2, 'mob22119_Leave')
RegisterUnitEvent(22119, 3, 'mob22119_Kill')
RegisterUnitEvent(22119, 4, 'mob22119_Die')
